package com.gigi.searchcenterbackendmaster.mapper;

import com.gigi.searchcenterbackendmaster.model.entity.ArticleEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gigi.searchcenterbackendmaster.model.entity.UserEntity;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 文章表 Mapper 接口
 * </p>
 *
 * @author Gigi
 * @since 2024-08-17
 */
public interface ArticleMapper extends BaseMapper<ArticleEntity> {

    /**
     * 根据更新时间查询文章列表（自定义查询方法包含已删除的）
     *
     * @param minUpdateTime
     * @return
     */
    List<ArticleEntity> listByUpdateTimeWithDelete(LocalDateTime minUpdateTime);

}
